<?php if($countMusics){ ?>
	<div class="user_block">
		<div class="u_cat_head">
			<a href="<?php echo Yii::app()->createUrl('groups/music');?>">
				<i>Мои </i> Аудиозаписи <span><?php echo CHtml::encode($countMusics); ?></span>
			</a>
		</div>
		<div class="u_audio_player profileMusic">
			<?php foreach ($musics as $key => $music){ ?>
				<div class="u_audio__item">
					<div class="play_btn"></div>
					<div class="u_audio_track">
						<a href="#" data-src="<?php echo '/upload/audio/'.$music->music_info->file;?>" class="u_audio__autor"><?php echo $music->artist;?></a>
						<span> &mdash; </span>
						<a href="#" data-src="<?php echo '/upload/audio/'.$music->music_info->file;?>" class="u_audio__name"><?php echo $music->name;?></a>
					</div>
				</div>
			<?php } ?>
		</div>
	</div>
<?php } ?>